Optimal. Leaf size=76 \[ -\frac{A \tanh ^{-1}\left (\frac{\sqrt{a+b x^2}}{\sqrt{a}}\right )}{a^{5/2}}+\frac{3 A+2 B x}{3 a^2 \sqrt{a+b x^2}}+\frac{A+B x}{3 a \left (a+b x^2\right )^{3/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.218707, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ -\frac{A \tanh ^{-1}\left (\frac{\sqrt{a+b x^2}}{\sqrt{a}}\right )}{a^{5/2}}+\frac{3 A+2 B x}{3 a^2 \sqrt{a+b x^2}}+\frac{A+B x}{3 a \left (a+b x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/(x*(a + b*x^2)^(5/2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 26.6381, size = 65, normalized size = 0.86 \[ - \frac{A \operatorname{atanh}{\left (\frac{\sqrt{a + b x^{2}}}{\sqrt{a}} \right )}}{a^{\frac{5}{2}}} + \frac{A + B x}{3 a \left (a + b x^{2}\right )^{\frac{3}{2}}} + \frac{3 A + 2 B x}{3 a^{2} \sqrt{a + b x^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/x/(b*x**2+a)**(5/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.296461, size = 79, normalized size = 1.04 \[ \frac{\frac{\sqrt{a} \left (4 a A+3 a B x+3 A b x^2+2 b B x^3\right )}{\left (a+b x^2\right )^{3/2}}-3 A \log \left (\sqrt{a} \sqrt{a+b x^2}+a\right )+3 A \log (x)}{3 a^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/(x*(a + b*x^2)^(5/2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 92, normalized size = 1.2 \[{\frac{Bx}{3\,a} \left ( b{x}^{2}+a \right ) ^{-{\frac{3}{2}}}}+{\frac{2\,Bx}{3\,{a}^{2}}{\frac{1}{\sqrt{b{x}^{2}+a}}}}+{\frac{A}{3\,a} \left ( b{x}^{2}+a \right ) ^{-{\frac{3}{2}}}}+{\frac{A}{{a}^{2}}{\frac{1}{\sqrt{b{x}^{2}+a}}}}-{A\ln \left ({\frac{1}{x} \left ( 2\,a+2\,\sqrt{a}\sqrt{b{x}^{2}+a} \right ) } \right ){a}^{-{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/x/(b*x^2+a)^(5/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((b*x^2 + a)^(5/2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.256535, size = 1, normalized size = 0.01 \[ \left [\frac{2 \,{\left (2 \, B b x^{3} + 3 \, A b x^{2} + 3 \, B a x + 4 \, A a\right )} \sqrt{b x^{2} + a} \sqrt{a} + 3 \,{\left (A b^{2} x^{4} + 2 \, A a b x^{2} + A a^{2}\right )} \log \left (-\frac{{\left (b x^{2} + 2 \, a\right )} \sqrt{a} - 2 \, \sqrt{b x^{2} + a} a}{x^{2}}\right )}{6 \,{\left (a^{2} b^{2} x^{4} + 2 \, a^{3} b x^{2} + a^{4}\right )} \sqrt{a}}, \frac{{\left (2 \, B b x^{3} + 3 \, A b x^{2} + 3 \, B a x + 4 \, A a\right )} \sqrt{b x^{2} + a} \sqrt{-a} - 3 \,{\left (A b^{2} x^{4} + 2 \, A a b x^{2} + A a^{2}\right )} \arctan \left (\frac{\sqrt{-a}}{\sqrt{b x^{2} + a}}\right )}{3 \,{\left (a^{2} b^{2} x^{4} + 2 \, a^{3} b x^{2} + a^{4}\right )} \sqrt{-a}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((b*x^2 + a)^(5/2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 29.0716, size = 840, normalized size = 11.05 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/x/(b*x**2+a)**(5/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.221261, size = 111, normalized size = 1.46 \[ \frac{{\left ({\left (\frac{2 \, B b x}{a^{2}} + \frac{3 \, A b}{a^{2}}\right )} x + \frac{3 \, B}{a}\right )} x + \frac{4 \, A}{a}}{3 \,{\left (b x^{2} + a\right )}^{\frac{3}{2}}} + \frac{2 \, A \arctan \left (-\frac{\sqrt{b} x - \sqrt{b x^{2} + a}}{\sqrt{-a}}\right )}{\sqrt{-a} a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((b*x^2 + a)^(5/2)*x),x, algorithm="giac")
[Out]